<h1 align="left">
    {if $hotelName != ''}Gian hàng: [{$room.booth_id}] {$hotelName}<hr />{/if}
    
    {if $room.id}
    Sửa thực đơn
    {else}
    Thêm thực đơn  mới
    {/if}
    
    [<a href="manage_booth_menu.html?booth_id={$room.booth_id}">Quản lý thực đơn </a>]
    
    [<a href="manage_booth.html">Quản lý gian hàng</a>]
</h1>
<div align="center">
{$message}
{$success}
</div>

<table bordercolor="#CCCCCC" border="1" cellspacing="0" cellpadding="5" style="border-collapse:collapse;margin: 20px auto; width:80%">
    <tbody>
        <tr>
            <td colspan="2" align="right" style="font-size:26px">
                [ <a href="javascript:document.ManageRoomForm.submit();">Lưu</a> ]
                [ <a href="manage_booth_menu.html?booth_id={$room.booth_id}">Hủy</a> ]
            </td>
        </tr>
        
        <tr>
          <th align="right">Gian hang:</th>
          <td>
         	[{$room.booth_id}] {$hotelName}
           
            {if $alow_edit_hotel}
            	[ <a href="manage_booth.html?act=edit&id={$room.booth_id}" title="Sửa gian hang">Sửa</a> ]
            {/if}
          </td>
        </tr>
        
        {if $room.id}
        <tr>
            <th align="right">ID: </th>
            <td>{$room.id}<input type="hidden" name="id" value="{$room.id}"></td>
        </tr>
        {/if}
        
        <tr>
            <th align="right">Tên thực đơn: </th>
            <td><input type="text" style="width: 500px;;" name="name" value="{$room.name}"></td>
        </tr>
        <tr>
            <th align="right">Trạng thái: </th>
            <td>{html_radios name='status' options=$status_radios selected=$room.status}</td>
        </tr>
        <tr>
            <th align="right">Giá: </th>
            <td><input type="text" name="price" value="{$room.price}">VNĐ</td>
        </tr>
        <tr>
            <th align="right">Anh nhỏ: </th>
            <td>
                {if $room.img_small}<img src="{$room.img_small}" alt="" width="100" height="auto"> {/if}
                <input type="file" name="img_small" id="img_small" />
            </td>
        </tr>
        <tr>
            <th align="right">Anh Lớn: </th>
            <td>
                {if $room.img_lager}<img src="{$room.img_lager}" alt="" width="100" height="auto"> {/if}
                <input type="file" name="img_lager" id="img_lager" />
            </td>
        </tr>
        <tr>
            <th align="right">Mô tả:</th>
            <td><textarea name="desc" type="text" value="" rows="10" cols="70">{$room.desc}</textarea></td>
        </tr>

        <tr>
            <td colspan="2" align="center" style="font-size:26px">
                <input type="submit" class="save_button" value="Lưu thay đổi" />
                <input type="reset" value="Reset form" />
            </td>
        </tr>
    </tbody>
</table>
<script>
    {literal}

    {/literal}
</script>